<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title">Default Title</ui:insert></title>
        <h:outputStylesheet name="theme.css"/>
    </h:head>

    <h:body>
        <div id="tudo">
            <div id="topo" align="top">
                <ui:insert name="menuTopo"></ui:insert>
                <h:form>
                    <div align="center">
                        <p:graphicImage id="banner" url="imagens/royal.jpg" width="282" height="83"/>
                    </div>
                    <p:menubar>
                        
                        <p:menuitem value="#{bundle.Index_namePage}" icon="ui-icon-home" action="/index" />

                        <p:submenu label="#{bundle.MenuBar_Configuracao}" icon="ui-icon-gear">
                            <p:submenu label="#{bundle.MenuBar_Configuracao_Cadastros}">  
                                <p:menuitem value="#{bundle.MenuBar_Configuracao_Cadastros_Uf}" action="/paginasEntidades/uf/List" />
                                <p:menuitem value="#{bundle.MenuBar_Configuracao_Cadastros_Cidade}" action="/paginasEntidades/cidade/List" />
                            </p:submenu>
                        </p:submenu>

                        <p:menuitem value="#{bundle.MenuBar_Sair}" url="javascript:window.close()" icon="ui-icon-close" />  

                    </p:menubar>

                </h:form>  
            </div>
            <div>
                <table width="100%">
                    <tr>
                        <th>
                            <div id="esquerda" align="top">
                                <h:form>
                                    <ui:insert name="menuEsquerda"></ui:insert>

                                    <p:growl id="messages"/>
                                    <p:tieredMenu style="width:180px">  
                                        <p:submenu label="Ajax Menuitems" icon="ui-icon-refresh">  
                                            <p:menuitem value="Save" update="messages" icon="ui-icon-disk" />  
                                            <p:menuitem value="Update" update="messages" icon="ui-icon-arrowrefresh-1-w" />  
                                        </p:submenu>  
                                        <p:submenu label="Non-Ajax Menuitem" icon="ui-icon-newwin">  
                                            <p:menuitem value="Delete" update="messages" ajax="false" icon="ui-icon-close"/>  
                                        </p:submenu>  
                                        <p:separator />  
                                        <p:submenu label="Navigations" icon="ui-icon-extlink">  
                                            <p:submenu label="Prime Links">  
                                                <p:menuitem value="Prime" url="http://www.prime.com.tr" />  
                                                <p:menuitem value="PrimeFaces" url="http://www.primefaces.org" />  
                                            </p:submenu>  
                                            <p:menuitem value="Mobile" url="/mobile" />  
                                        </p:submenu>  
                                    </p:tieredMenu> 
                                </h:form>
                            </div>
                        </th>
                        <th>
                            <div id="conteudo">
<!--                                <ui:insert name="title">Default Title</ui:insert>-->

                                <ui:insert name="body">Default Body</ui:insert>

                            </div>
                        </th>
                    </tr>
                </table>
            </div>
        </div>
    </h:body>

</html>
